#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include<vector>
using namespace std;

int main() {
    int n = 0;
    int m = 0;
    cin >> n >> m;
    vector<vector<int>>f(n + 1, vector<int>(m + 1, 0));
    for (int i = 0; i <= m; i++)f[0][i] = 1;
    for (int i = 0; i <= n; i++)f[i][0] = 1;
    for (int i = 1; i <= n; i++) {
        for (int j = 1; j <= m; j++)f[i][j] = f[i - 1][j] + f[i][j - 1];
    }
    cout << f[n][m];
}
#include <iostream>
using namespace std;
int pathnum(int n, int m) {
    if (n > 1 && m > 1)return pathnum(n - 1, m) + pathnum(n, m - 1);
    else if ((n == 1 && m >= 1) || n >= 1 && m == 1)return n + m;
    else return 0;
}
int main() {
    int n = 0;
    int m = 0;
    cin >> n >> m;
    cout << pathnum(n, m);
}
class UnusualAdd {
public:
    int addAB(int A, int B) {
        // write code here
        if (A == 0)return B;
        if (B == 0)return A;
        int a = A ^ B;
        int b = (A & B) << 1;
        return addAB(a, b);
    }
};
#include <iostream>
#include<string>
using namespace std;

int main() {
    string s;
    int sum = 0;
    getline(cin, s);
    if (s.size() <= 4)sum += 5;
    else if (s.size() >= 5 && s.size() <= 7)sum += 10;
    else sum += 25;
    int a = 0;
    int A = 0;
    int a1 = 0;
    int aa = 0;
    for (auto e : s) {
        if (e >= 'a' && e <= 'z')a = 1;
        else if (e >= 'A' && e <= 'Z')A = 1;
        else if (e >= '0' && e <= '9')a1++;
        else aa++;
    }
    if (a == 0 && A == 0)sum += 0;
    else if (a == 1 && A == 1)sum += 20;
    else sum += 10;
    if (a1 == 0)sum += 0;
    else if (a1 == 1)sum += 10;
    else sum += 20;
    if (aa == 0)sum += 0;
    else if (aa == 1)sum += 10;
    else sum += 25;
    if (a == 1 && A == 1 && a1 >= 1 && aa >= 1)sum += 5;
    else if (a1 >= 1 && aa >= 1 && (a == 1 || A == 1))sum += 3;
    else if (a1 >= 1 && (a == 1 || A == 1))sum += 2;
    if (sum >= 90) {
        cout << "VERY_SECURE" << endl;
    }
    else if (sum >= 80) {
        cout << "SECURE" << endl;

    }
    else if (sum >= 70) {
        cout << "VERY_STRONG" << endl;
    }
    else if (sum >= 60) {
        cout << "STRONG" << endl;
    }
    else if (sum >= 50) {
        cout << "AVERAGE" << endl;
    }
    else if (sum >= 25) {
        cout << "WEAK" << endl;
    }
    else {
        cout << "VERY_WEAK" << endl;
    }

}